package com.dfrz.household.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("t_province")
public class Province {

    @TableId(type = IdType.AUTO)
    private Integer prid;

    private String prname;

    private String prinitials;

    @TableField(exist = false)
    private List<City> list;

}